Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthrough
ChangesESP-IDF version detection
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant Installation
participant ToolsUtility
participant version.cmake
participant ActivationScript
Installation->>ToolsUtility: getIdfVersion
ToolsUtility->>version.cmake: parse version definitions
version.cmake-->>ToolsUtility: major.minor[.patch]
ToolsUtility->>ActivationScript: fallback ESP_IDF_VERSION lookup
ActivationScript-->>ToolsUtility: version output
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@bundles/com.espressif.idf.core/src/com/espressif/idf/core/tools/util/ToolsUtility.java`:
- Around line 58-67: Update readIdfVersionFromCMake to wrap Path.of and
parseVersionCMake in an InvalidPathException catch, returning the existing
fallback value that triggers activation-script lookup when the user-provided
idfPath is malformed. Preserve the current empty-path handling and normal
parsing behavior.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: cab97f3a-1dcb-486d-ae10-f87018fec255
📒 Files selected for processing (2)
bundles/com.espressif.idf.core/src/com/espressif/idf/core/tools/util/ToolsUtility.javatests/com.espressif.idf.core.test/src/com/espressif/idf/core/tools/test/ToolsUtilityTest.java
Description
Parsing the version from the version.cmake from the esp-idf folder instead using activation script. The activation script provides only major and minor now - espressif/idf-im-ui#868.
#1422
Fixes # (IEP-1795)
Type of change
Please delete options that are not relevant.
How has this been tested?
ensure that tyhe esp-idf version column now has a major.minor.patch format:

Test Configuration:
Dependent components impacted by this PR:
Checklist
Summary by CodeRabbit
Bug Fixes
Tests